﻿using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;

namespace ManYan.Api.Controllers
{
    [Route("[controller]/[action]")]
    [ApiController]
    public class ConnectController : ControllerBase
    {
        [HttpGet]
        public dynamic userinfo()
        {
            return new { name="管理员",roles=new string[] { "admin"} }; 
        }
    }
}
